package com.bank.service;

import com.bank.common.JsonResult;
import com.bank.entity.User;

/**
 * @ProjectName: bankSystem
 * @Author: Jsx
 * @Time: 2020/9/12 16:56
 * @Description:
 */
public interface UserService {

    public User login(String bankCode , String password);

    public void updateHeadImg(Integer id, String imgPath);

    public User selectByCode(String bankCode);

    public void updatePassword(String bankCode ,String oldPassword ,String newPassword);

    public JsonResult inserUser(User user);
}
